package descriptor;

import java.io.Serializable;

public class CompanySupDescriptor extends UserDescriptor{

	private int companyId = 0;
	private int[] degreeIds = new int[0];
	private int[] studentIds = new int[0];
	private String companyName = "";
	
	public CompanySupDescriptor() {
		super();
	}
	
	public CompanySupDescriptor(int userId, String firstName, String name, String login, String passwd, String mail,int companyId, int[] degreeIds, int[] studentIds) {
		super(userId, firstName, name, login, passwd, mail, 8);
		this.companyId = companyId;
		this.degreeIds = degreeIds;
		this.studentIds = studentIds;
	}

	public CompanySupDescriptor(int userId, String firstName, String name, String login, String passwd, String mail, int companyId, String companyName) 
	{
		super(userId, firstName, name, login, passwd, mail, 8);
		this.companyName = companyName;
		this.companyId = companyId;
	}


	public int getCompanyId() {
		return companyId;
	}


	public void setCompanyId(int companyId) {
		this.companyId = companyId;
	}


	public int[] getDegreeId() {
		return degreeIds;
	}


	public void setDegreeId(int[] degreeIds) {
		this.degreeIds = degreeIds;
	}


	public int[] getStudentIds() {
		return studentIds;
	}


	public void setStudentIds(int[] studentIds) {
		this.studentIds = studentIds;
	}
	
	
	public String getCompanyName()
	{
		return companyName;
	}
	
	public void setCompanyName(String companyName)
	{
		this.companyName = companyName;
	}
	
}
